package com.foreknow.elmboot.service;

import com.foreknow.elmboot.po.OrderDetailet;
import com.foreknow.elmboot.po.Orders;

import java.util.List;

public interface OrderDetailetService {

    /**
     * 批量添加数据明细
     * @param list
     * @return
     */
    public int saveOrderDetailetBatch(List<OrderDetailet> list);

    /**
     * 根据orderId查询订单明细
     * @param orderId
     * @return
     */
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId);
}
